package com.shy.springframework.aop;

import java.lang.reflect.Method;

/**
 * 方法前置通知接口
 */
public interface MethodBeforeAdvice extends BeforeAdvice{

    /**
     * 给定方法调用前调用
     * @param method
     * @param target
     * @throws Throwable
     */
    void before(Method method, Object[] args, Object target) throws Throwable;
}
